package com.atguigu.guli.service.edu;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author lsystart
 * @create2021-10-26 15:17
 */

@SpringBootApplication
@ComponentScan(basePackages = "com.atguigu.guli.service")
@MapperScan(basePackages = "com.atguigu.guli.service.edu.mapper")
@EnableDiscoveryClient
@EnableTransactionManagement
@EnableFeignClients
public class ServiceEduApplication {
    public static void main(String[] args) {
        SpringApplication.run(ServiceEduApplication.class,args);
    }
}
